# Maintainer: Raymond Hackley <RaymondHackley0689@protonmail.com>
pkgname=mint-y-icons
pkgver=1.5.9
pkgrel=1
pkgdesc="Mint-Y icon theme"
options="!check" # It is an icon theme
url="https://github.com/linuxmint/mint-y-icons"
arch="noarch"
license="GPL-3.0-or-later"
_mint_y_icons_commit="36cdc3c1978dfd9d62469fdf8bf641b97742b7a7"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/mint-y-icons/archive/$_mint_y_icons_commit.tar.gz"
builddir="$srcdir"/$pkgname-$_mint_y_icons_commit
subpackages="$pkgname-doc"

package() {
	mkdir -p "$pkgdir"
	mv -v "$builddir"/usr "$pkgdir"/

	install -Dm644 "$builddir"/debian/changelog \
		       "$pkgdir"/usr/share/doc/"$pkgname"/changelog
	install -Dm644 "$builddir"/debian/copyright \
		       "$pkgdir"/usr/share/doc/"$pkgname"/copyright
}

sha512sums="
2cdcd7a7362e15a718ac4d98cfcdafd337adc95e48968b4f86c029bfee92152ba741076abfd8223f7e5107b62f4600e8628a24e2108c1111dd7981eaec4e1892  mint-y-icons-1.5.9.tar.gz
"
